﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    /// <summary>
    /// Lab:实验室
    /// </summary>
    [Serializable]
    public partial class Lab
    {
        public Lab()
        { }
        #region Model
        private int _labid;
        private string _labname;
        private string _labno;
        private int _lablevel;
        private int _location;
        private int _category;
        private int? _area;
        private DateTime _usedate;
        private string _telephone;
        private string _summary;
        private bool _openstudent = true;
        private bool _openteacher = true;
        private int _limituser;
        public Model.Parameter levelValue { get; set; }
        public Model.Parameter categoryValue { get; set; }
        public Model.Parameter locationValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int LabID
        {
            set { _labid = value; }
            get { return _labid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LabName
        {
            set { _labname = value; }
            get { return _labname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LabNO
        {
            set { _labno = value; }
            get { return _labno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int LabLevel
        {
            set { _lablevel = value; }
            get { return _lablevel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int location
        {
            set { _location = value; }
            get { return _location; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int category
        {
            set { _category = value; }
            get { return _category; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? area
        {
            set { _area = value; }
            get { return _area; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime useDate
        {
            set { _usedate = value; }
            get { return _usedate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string telephone
        {
            set { _telephone = value; }
            get { return _telephone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string summary
        {
            set { _summary = value; }
            get { return _summary; }
        }
        /// <summary>
        /// 是否开放给学生
        /// </summary>
        public bool openStudent
        {
            set { _openstudent = value; }
            get { return _openstudent; }
        }
        /// <summary>
        /// 是否开放给老师
        /// </summary>
        public bool openTeacher
        {
            set { _openteacher = value; }
            get { return _openteacher; }
        }
        /// <summary>
        /// 人数上限
        /// </summary>
        public int limituser
        {
            set { _limituser = value; }
            get { return _limituser; }
        }
        #endregion Model

    }
}
